package com.chorye.datasource.entity;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Company: 北京XXXX有限公司
 * @Author JiangYy
 * @Title: Student
 * @Description: 学生实体
 * @Date 2018/12/13 11:25
 */
public class Student implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    private String name;

    private Integer age;

    private String address;

    private BigDecimal salary;

    private String mobile;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public BigDecimal getSalary() {
        return salary;
    }

    public void setSalary(BigDecimal salary) {
        this.salary = salary;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name=" + name +
                ", age=" + age +
                ", address=" + address +
                ", salary=" + salary +
                ", mobile=" + mobile +
                "}";
    }
}
